package com.mao.dao;

import com.mao.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author: Administrator
 * Date: 2021/5/21 23:00
 * Description:
 */
public interface UserMapper {

    // 根据id查询用户
    User queryUserById(@Param("id") int id);

    int updateUser(User user);
}
